<?php /* Smarty version 3.1.27, created on 2017-12-19 03:02:17
         compiled from "D:\wamp32\wamp\www\s70_mvc\mvc\views\User\index.html" */ ?>
<?php
/*%%SmartyHeaderCode:244985a388139795b97_60210537%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ac29ade5e51d935ca6a38bceac1091dac17575c7' => 
    array (
      0 => 'D:\\wamp32\\wamp\\www\\s70_mvc\\mvc\\views\\User\\index.html',
      1 => 1513652533,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '244985a388139795b97_60210537',
  'variables' => 
  array (
    'list' => 0,
    'v' => 0,
  ),
  'has_nocache_code' => false,
  'version' => '3.1.27',
  'unifunc' => 'content_5a38813980ed39_60993662',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5a38813980ed39_60993662')) {
function content_5a38813980ed39_60993662 ($_smarty_tpl) {

$_smarty_tpl->properties['nocache_hash'] = '244985a388139795b97_60210537';
?>
<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>用户列表</h1>
<table border="1" width="800">
    <tr>
        <th>ID</th>
        <th>NAME</th>
        <th>SEX</th>
        <th>AGE</th>
        <th>PRO</th>
    </tr>
    <?php
$_from = $_smarty_tpl->tpl_vars['list']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['v'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['v']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
$foreach_v_Sav = $_smarty_tpl->tpl_vars['v'];
?>
    <tr>
        <td><?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['v']->value['name'];?>
</td>
        <td>
            <?php if ($_smarty_tpl->tpl_vars['v']->value['sex'] == 0) {?>女
            <?php } elseif ($_smarty_tpl->tpl_vars['v']->value['sex'] == 1) {?>男
            <?php } else { ?>保密
            <?php }?>
        </td>
        <td><?php echo $_smarty_tpl->tpl_vars['v']->value['age'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['v']->value['province'];?>
</td>
    </tr>
    <?php
$_smarty_tpl->tpl_vars['v'] = $foreach_v_Sav;
}
?>
</table>
</body>
</html><?php }
}
?>